

#ifndef __HTTPD_H__
#define __HTTPD_H__
#include "main.h"
#include "def.h"//"lwip/def.h"
#include "fsdata.h"

struct fs_file {
  unsigned char *data;
  unsigned int len;
};

/* file must be allocated by caller and will be filled in
   by the function. */
int fs_open(char *name, struct fs_file *file);

void httpd_init(void);

#endif /* __HTTPD_H__ */
